use error::AppErr;


mod error;
mod config;
mod utils;
mod store;
mod server;
mod http;


#[actix_web::main]
async fn main() -> Result<(), AppErr> {

    config::init().await?;
    http::init();
    store::init().await?;
    server::init().await?;

    Ok(())
}
